f8edce22aba3c2b5ab55c38edc325c4942a7caf6,forward-cat-website/app/controllers/DeleteProxy.java,DeleteProxy,delete,#String#String#,63

Before Change


    }

    public Result delete(String p, String h) {
        Http.Request request = request();
        Lang lang = getBestLanguage(request, lang());

        // Checking params
        Optional<MailAddress> maybeProxyMail = toMailAddress(p);
        if (!maybeProxyMail.isPresent() || h == null) {
            return badRequest(error_page.render(lang, empty()));
        }

        // Getting the proxy & checking that the hash is correct

After Change


        // Checking params
        Optional<MailAddress> maybeProxyMail = toMailAddress(p);
        if (!maybeProxyMail.isPresent() || h == null) {
            return badRequest(error_page.render(lang(), empty()));
        }

        // Getting the proxy & checking that the hash is correct